<template>
	<view class="qilin-box">
		<follow-nav :currentPageLabel="currentPage"></follow-nav>
		<follow-list :list="list"></follow-list>
		<tab-bar></tab-bar>
	</view>
</template>

<script>
	import FollowNav from "../../components/followNav.vue";
	import FollowList from "../../components/followList.vue";
	import TabBar from "../../components/tabBar.vue";
	export default {
		components:{
			FollowNav,
			FollowList,
			TabBar
		},
		data() {
			return {
				currentPage:"friend",
				list:[]
			}
		},
		methods: {
			getVideo(){
				uni.request({
					url:"http://localhost:9999/api/videos.json",
					method:"get",
					success:(res)=>{
						this.list=res.data.list.slice(3);
					}
				});
			}
		},
		mounted(){
			this.getVideo();
		}
	}
</script>

<style>
.qilin-box{
	width:100%;
	/* height:100%; */
	background-color:#181725;
	padding-bottom:120rpx;
}
</style>
